_dist = 10;

//if ((var_console_valid_type == "Statique") or (var_console_valid_type == "Groupe")) then
//{
//}else{
		if (var_console_valid_type == "Homme") then
		{
			_dist = 3;
			
		};
		_preview_unit = console_unit_unite createVehicleLocal (getMarkerPos "preview_mark");
		_preview_unit setpos [getPos _preview_unit select 0, getPos _preview_unit select 1, 10000];
    [_preview_unit] execVM "dontfall.sqf";
    
			_cam_target = _preview_unit;
			preview_cam = "camera" CamCreate [(getPos _cam_target select 0)+_dist, (getPos _cam_target select 1)+_dist, (getPos _cam_target select 2)+_dist/2];
			preview_cam CamSetTarget _cam_target;
			preview_cam CameraEffect ["INTERNAL","Back"];
			preview_cam CamCommit 2;
			showcinemaborder false;
			if (NORRN_CAM_NVG) then
			{
				camUseNVG true;
			}else {
				camUseNVG false;
			};
			sleep 3;
			player switchCamera "INTERNAL";
			preview_cam CameraEffect ["Terminate","Back"];
			CamDestroy preview_cam;
			deleteVehicle _preview_unit;
			
//};
[] execVM "Computer\cpu_dialog.sqf";
